Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Fix some wrong parameter names in WebAPI#178

Merged
pvzig merged 1 commit into
pvzig:masterfrom
mtgto:fix_webapi_parameters
Mar 20, 2020
Merged

Fix some wrong parameter names in WebAPI#178
pvzig merged 1 commit into
pvzig:masterfrom
mtgto:fix_webapi_parameters

Conversation

@mtgto
Copy link
Copy Markdown
Contributor

@mtgto mtgto commented Mar 19, 2020

I found some parameters are mistaken.

sendMessage uses camelCase params, but it is snake_case, truly.
https://api.slack.com/methods/chat.postMessage

sendEphemeral also has mistakes.
https://api.slack.com/methods/chat.postEphemeral

fileInfo has bad arguments which are not matching api doc.
https://api.slack.com/methods/files.info

p.s. I only checked camelcase parameters. There might be more mistakes.

@pvzig
Copy link
Copy Markdown
Owner

pvzig commented Mar 20, 2020

Thanks! 🙇

@pvzig pvzig merged commit 229e4ee into pvzig:master Mar 20, 2020
@mtgto mtgto deleted the fix_webapi_parameters branch March 21, 2020 00:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants